package com.happy.controller.admin;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/admin/index")
public class IndexController {


    @RequestMapping("/index")
    public ModelAndView index() {
        ModelAndView view = new ModelAndView("admin/index/index");

        view.addObject("username", "张三！！");

        return view;
    }


}
